<template>
  <div class="sidecontent">
      <category-item v-for="(item,index) in subCategoryList" :key="index" :subCategoryList="item"></category-item>
  </div>
</template>

<script>
import CategoryItem from './CategoryItem.vue'
export default {
    name:'CategorySideContent',
    props: {
        subCategoryList:{
            type:Array,
            default(){
                return []
            }
        }
    },
    components: {
        CategoryItem,
    }
}
</script>

<style scoped>
.sidecontent {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
}
</style>